<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <title>祈贝健康--后台管理系统</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />

    <!-- ================== BEGIN BASE CSS STYLE ================== -->
    <link href="./Public/Admin/assets/plugins/jquery-ui/themes/base/minified/jquery-ui.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/css/animate.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/css/style.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/css/style-responsive.min.css" rel="stylesheet" />
    <link href="./Public/Admin/assets/css/theme/default.css" rel="stylesheet" id="theme" />
    <!-- ================== END BASE CSS STYLE ================== -->

    <!-- ================== BEGIN PAGE LEVEL STYLE ================== -->
    <link href="./Public/Admin/assets/plugins/DataTables/css/data-table.css" rel="stylesheet" />
    <!-- ================== END PAGE LEVEL STYLE ================== -->

    <!-- ================== BEGIN BASE JS ================== -->
    <script src="./Public/Admin/assets/plugins/pace/pace.min.js"></script>
    <!-- ================== END BASE JS ================== -->
</head>
<body>
<php> include './Public/Admin/header.html'; </php>



<!-- begin #content -->
<div id="content" class="content">
    <!-- begin breadcrumb -->
    <ol class="breadcrumb pull-right">
        <li><a href="javascript:;">首页</a></li>
        <li><a href="javascript:;">医生管理</a></li>
        <li class="active">添加医生</li>

    </ol>
    <!-- end breadcrumb -->
    <!-- begin page-header -->
    <h1 class="page-header">医生管理 <small>添加医生</small></h1>
    <!-- end page-header -->

    <!-- begin row -->
    <div class="row">
        <!-- begin col-12 -->
        <div class="col-md-12">
            <!-- begin panel -->
            <div class="panel panel-inverse">
                <div class="panel-heading">
                    <div class="panel-heading-btn">
                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-repeat"></i></a>
                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
                    </div>
                    <h4 class="panel-title">添加医生</h4>
                </div>
                <div class="panel-body">
                    <div class="table-responsive">


                        <!--表单-->

                        <div class='col-md-10'>
                            <form class='form-horizontal' role='form' method="post" action="index.php?m=Admin&c=Doctor&a=lists&type=1" enctype="multipart/form-data">

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>会员名称：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="logname" id='logname' placeholder='请输入会员名称'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>医生姓名：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="name" id='name' placeholder='请输入医生姓名'>
                                    </div>
                                </div>


                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>性别：</label>
                                    <div class='form-inline'>
                                        <label class="radio-inline">
                                            <input type="radio" name="sex"  value="0"> 女
                                        </label>
                                        <label class="radio-inline">
                                            <input type="radio" name="sex"  value="1"> 男
                                        </label>
                                    </div>
                                </div>


                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>医生头像：</label>
                                    <div class='col-md-4'>
                                        <input type="file" name="img" id="img"/>
                                    </div>
                                </div>



                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>所属国家：</label>
                                    <div class='col-md-4'>
                                        <select onchange="loads()" class='form-control' name="cid" id="cid">


                                        </select>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>所属城市：</label>
                                    <div class='col-md-4'>
                                        <select onchange="loadh()" class='form-control' name="zid" id="zid">


                                        </select>
                                    </div>
                                </div>
                                <!--通过城市选择医院-->
                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>所属医院：</label>
                                    <div class='col-md-4'>
                                        <select class='form-control' name="hospital_id" id="hospital_id">


                                        </select>
                                    </div>
                                </div>
                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>中文职称：</label>
                                     <div class='col-md-5'>
                                            <label class="checkbox-inline">
                                                 <input type="checkbox" name="title_cn[]" value="主任医师">主任医师
                                            </label>
                                            <label class="checkbox-inline">
                                                 <input type="checkbox" name="title_cn[]" value="副主任医师">副主任医师
                                            </label>
                                            <label class="checkbox-inline">
                                                 <input type="checkbox" name="title_cn[]" value="教授">教授
                                            </label>
                                            <label class="checkbox-inline">
                                                    <input type="checkbox" name="title_cn[]" value="副教授">副教授
                                            </label>
                                             <label class="checkbox-inline">
                                                    <input type="checkbox" name="title_cn[]" value="医师">医师
                                             </label>
                                             <label class="checkbox-inline">
                                                    <input type="checkbox" name="title_cn[]" value="博士">博士
                                             </label>
                                             <label class="checkbox-inline">
                                                 <input type="checkbox" name="title_cn[]" value="医学博士">医学博士
                                             </label>
                                             <label class="checkbox-inline">
                                                 <input type="checkbox" name="title_cn[]" value="高难临床实验室主任">高难临床实验室主任
                                             </label>
                                             <label class="checkbox-inline">
                                                  <input type="checkbox" name="title_cn[]" value="美国妇产科学院协会会员">美国妇产科学院协会会员
                                             </label>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>英文职称：</label>
                                    <div class='col-md-5'>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="Clinical Director">Clinical Director
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value=" Deputy Clinical Director"> Deputy Clinical Director
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="Professor">Professor
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="Associate Professor">Associate Professor
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="Physician">Physician
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="PhD">PhD
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="  MD">  MD
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="HCLD">HCLD
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="title_en[]" value="FACOG">FACOG
                                        </label>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>中文专长：</label>
                                    <div class='col-md-5'>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="腹腔镜">腹腔镜
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="宫腔镜">宫腔镜
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="促排卵">促排卵
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="辅助生殖">辅助生殖
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="试管婴儿">试管婴儿
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="排卵障碍">排卵障碍
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="子宫内膜异位">子宫内膜异位
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="卵巢早衰">卵巢早衰
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="多囊卵巢">多囊卵巢
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="输卵管不通">输卵管不通
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="习惯性流产">习惯性流产
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="男科不育">男科不育
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_cn[]" value="不孕不育">不孕不育
                                        </label>
                                 </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>英文专长：</label>
                                    <div class='col-md-5'>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Laparoscope">Laparoscope
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Hysteroscope">Hysteroscope
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Ovulation Induction">Ovulation Induction
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Assisted Reproduction">Assisted Reproduction
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="In Vitro Fertilization">In Vitro Fertilization
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Ovulation Failure">Ovulation Failure
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Endometriosis">Endometriosis
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="POF">POF
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="PCOS">PCOS
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Tubal Obstruction">Tubal Obstruction
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Recurrent Pregnancy Loss">Recurrent Pregnancy Loss
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Andrology">Andrology
                                        </label>
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="speciality_en[]" value="Infertility">Infertility
                                        </label>
                                    </div>
                                </div>
                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>医生执照编号：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="document_number" id='document_number' placeholder='请输入医生编号'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>上传认证资料：</label>
                                    <div class='col-md-4'>
                                        <input type="file" name="auth_img" id="auth_img"/>
                                    </div>
                                </div>


                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>科室：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="dept" id='dept' placeholder='请输入科室'>
                                    </div>
                                </div>
                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>中文医生简介：</label>
                                    <div class='col-md-4'>
                                        <textarea class="form-control" rows='3' name="abstract" id="abstract" placeholder="请输入中文医生介绍"></textarea>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>英文医生简介：</label>
                                    <div class='col-md-4'>
                                        <textarea class="form-control" rows='3' name="descrip" id="descrip" placeholder="请输入英文医生介绍"></textarea>
                                    </div>
                                </div>


                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>出生日期：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="birthday"  id="J-xl"/>
                                    </div>
                                </div>
                                <!--引入Jquery生日选择插件-->
                                <script src="./Public/Admin/laydate/laydate-master/laydate.dev.js"></script>
                                <script>
                                    laydate({
                                        elem: '#J-xl'
                                    });

                                </script>

                                <div class='form-group'>
                                    <label for='inputtext' class='col-md-2 control-label'>电话：</label>
                                    <div class='col-md-4'>
                                        <input type='text' class='form-control input-lg' name="telephone" id='telephone' placeholder='请输入电话'>
                                    </div>
                                </div>
                                <div class='form-group'>
                                    <div class='col-md-3 col-md-offset-2'>
                                        <button onclick="" class='btn btn-success btn-radius form-control'>提交</button>
                                    </div>
                                </div>
                            </form>
                        </div>


                    </div>
                </div>
            </div>
            <!-- end panel -->
        </div>
        <!-- end col-12 -->
    </div>
    <!-- end row -->
</div>
<!-- end #content -->


<!-- begin scroll to top btn -->
<a href="javascript:;" class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade" data-click="scroll-top"><i class="fa fa-angle-up"></i></a>
<!-- end scroll to top btn -->
<?php include './header.html'; ?>
<!-- end page container -->

<!-- ================== BEGIN BASE JS ================== -->
<script src="./Public/Admin/assets/plugins/jquery/jquery-1.9.1.min.js"></script>
<script src="./Public/Admin/assets/plugins/jquery/jquery-migrate-1.1.0.min.js"></script>
<script src="./Public/Admin/assets/plugins/jquery-ui/ui/minified/jquery-ui.min.js"></script>
<script src="./Public/Admin/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="./Public/Admin/assets/crossbrowserjs/html5shiv.js"></script>
<script src="./Public/Admin/assets/crossbrowserjs/respond.min.js"></script>
<script src="./Public/Admin/assets/crossbrowserjs/excanvas.min.js"></script>
<![endif]-->
<script src="./Public/Admin/assets/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!-- ================== END BASE JS ================== -->

<!-- ================== BEGIN PAGE LEVEL JS ================== -->
<script src="./Public/Admin/assets/plugins/DataTables/js/jquery.dataTables.js"></script>
<script src="./Public/Admin/assets/plugins/DataTables/js/dataTables.colVis.js"></script>
<script src="./Public/Admin/assets/js/apps.min.js"></script>
<!-- ================== END PAGE LEVEL JS ================== -->
<script>
    $(document).ready(function() {
        App.init();
        loadc();

    });
    function loadc(){
        $.getJSON("index.php?m=Admin&c=Doctor&a=country_list",function(result){
            var html='<option value="-1">--请选择--</option>';
            if(result!=null){
                $.each(result, function(key, val) {
                    html+='<option value="'+val.countryid+'">'+val.countryname_cn+'</option>';
                });
            }
            $("#cid").html(html);
        });
    }
    function loads(){
        var a=$("#cid").find("option:selected").val();
        $.getJSON("index.php?m=Admin&c=Doctor&a=city_list&cid="+a,function(result){
            var html='';
            if(result!=null){
                $.each(result, function(key, val) {
                    html+='<option value="'+val.id+'">'+val.name+'</option>';
                });
            }
            $("#zid").html(html);
        });

    }

    function loadh(){
        var a=$("#zid").find("option:selected").val();
        $.getJSON("index.php?m=Admin&c=Doctor&a=hospital_list&zid="+a,function(result){


            var html='';
            if(result!=null){
                $.each(result, function(key, val) {
                    html+='<option value="'+val.id+'">'+val.name+'</option>';
                });
            }
            $("#hospital_id").html(html);
        });

    }
</script>


</body>
</html>

